package com.ykdl.member.kid.beans;

import java.io.Serializable;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import net.wxxr.http.interfaces.IJsonParser;

public class PraiseActor implements Serializable ,IJsonParser{

	/**
	 * 
	 */
	private static final long serialVersionUID = 784114411168879983L;
	private PraiseBean praise ;
	private String desc ;
	private String error ;
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getError() {
		return error;
	}
	public void setError(String error) {
		this.error = error;
	}
	public PraiseBean getPraise() {
		return praise;
	}
	public void setPraise(PraiseBean praise) {
		this.praise = praise;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson   gson = null;
		if(null != json){
			GsonBuilder b = new GsonBuilder();
			gson  = b.create();
			return gson.fromJson(json, PraiseActor.class);
		}
		return null;
	}

}
